package main.visitor;

public class Book implements Acceptable {

    private long unitPrice;
    private long discount;
    private long paperQuality;
    private long paperCount;

    public long getUnitPrice() {
	return unitPrice;
    }

    public void setUnitPrice(long unitPrice) {
	this.unitPrice = unitPrice;
    }

    public long getDiscount() {
	return discount;
    }

    public void setDiscount(long discount) {
	this.discount = discount;
    }

    public long getPaperQuality() {
	return paperQuality;
    }

    public void setPaperQuality(long paperQuality) {
	this.paperQuality = paperQuality;
    }

    public long getPaperCount() {
	return paperCount;
    }

    public void setPaperCount(long paperCount) {
	this.paperCount = paperCount;
    }

    @Override
    public long accept(Visitor visitor) {
	return visitor.visit(this);
    }
}
